<?php
/* Smarty version 3.1.38, created on 2021-01-16 16:20:20
  from 'D:\phpstudy\phpstudy_pro\WWW\ggw\extend\smartybuilder\libs\Templates\form\linkselect.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.38',
  'unifunc' => 'content_6002a1c44497f8_04799068',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '753211e226cb338fddd43ec8034a7f5969220cc6' => 
    array (
      0 => 'D:\\phpstudy\\phpstudy_pro\\WWW\\ggw\\extend\\smartybuilder\\libs\\Templates\\form\\linkselect.html',
      1 => 1610785156,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6002a1c44497f8_04799068 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="layui-form-item">
    <label class="layui-form-label"><?php echo $_smarty_tpl->tpl_vars['value']->value['desc'];?>
</label>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, explode(',',$_smarty_tpl->tpl_vars['value']->value['name']), 'v', false, 'key');
$_smarty_tpl->tpl_vars['v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->do_else = false;
?>
    <?php if ($_smarty_tpl->tpl_vars['key']->value == 0) {?>
    <div class="layui-input-inline">
        <select name="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" data-action="<?php echo $_smarty_tpl->tpl_vars['value']->value['action'];?>
" lay-filter="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
" data-radio="<?php echo $_smarty_tpl->tpl_vars['value']->value['radio_value'];?>
" data-valuename="<?php echo $_smarty_tpl->tpl_vars['value']->value['key_value']['id'];?>
" data-showname="<?php echo $_smarty_tpl->tpl_vars['value']->value['key_value']['show'];?>
" id="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" data-quanname="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
">
            <option value="">请选择</option>
            <!--<option value="浙江" selected="">浙江省</option>-->
            <!--<option value="你的工号">江西省</option>-->
            <!--<option value="你最喜欢的老师">福建省</option>-->
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['value']->value['option'], 'va');
$_smarty_tpl->tpl_vars['va']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['va']->value) {
$_smarty_tpl->tpl_vars['va']->do_else = false;
?>
                <?php if ($_smarty_tpl->tpl_vars['value']->value['radio_value'] == 1) {?>
                    <?php if ($_smarty_tpl->tpl_vars['value']->value['value'] == $_smarty_tpl->tpl_vars['va']->value) {?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['va']->value;?>
" selected=""><?php echo $_smarty_tpl->tpl_vars['va']->value;?>
</option>
                    <?php } else { ?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['va']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['va']->value;?>
</option>
                    <?php }?>
                <?php } else { ?>
                    <?php if ((isset($_smarty_tpl->tpl_vars['value']->value['value'])) && $_smarty_tpl->tpl_vars['value']->value['value'] == $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['id']]) {?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['id']];?>
" selected=""><?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                    <?php } else { ?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['id']];?>
"><?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                    <?php }?>
                <?php }?>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        </select>
    </div>
    <?php } else { ?>
    <div class="layui-input-inline">
        <select name="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" data-action="<?php echo $_smarty_tpl->tpl_vars['value']->value['action'];?>
" lay-filter="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
" data-radio="<?php echo $_smarty_tpl->tpl_vars['value']->value['radio_value'];?>
" data-valuename="<?php echo $_smarty_tpl->tpl_vars['value']->value['key_value']['id'];?>
" data-showname="<?php echo $_smarty_tpl->tpl_vars['value']->value['key_value']['show'];?>
" id="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" data-quanname="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
">
            <option value="">请选择</option>
            <!--<option value="浙江" selected="">浙江省</option>-->
            <!--<option value="你的工号">江西省</option>-->
            <!--<option value="你最喜欢的老师">福建省</option>-->
        </select>
    </div>
    <?php }?>
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
    <!--<div class="layui-input-inline">-->
        <!--<select name="quiz1">-->
            <!--<option value="">请选择省</option>-->
            <!--<option value="浙江" selected="">浙江省</option>-->
            <!--<option value="你的工号">江西省</option>-->
            <!--<option value="你最喜欢的老师">福建省</option>-->
        <!--</select>-->
    <!--</div>-->
    <!--<div class="layui-input-inline">-->
        <!--<select name="quiz2">-->
            <!--<option value="">请选择市</option>-->
            <!--<option value="杭州">杭州</option>-->
            <!--<option value="宁波" disabled="">宁波</option>-->
            <!--<option value="温州">温州</option>-->
            <!--<option value="温州">台州</option>-->
            <!--<option value="温州">绍兴</option>-->
        <!--</select>-->
    <!--</div>-->
    <!--<div class="layui-input-inline">-->
        <!--<select name="quiz3">-->
            <!--<option value="">请选择县/区</option>-->
            <!--<option value="西湖区">西湖区</option>-->
            <!--<option value="余杭区">余杭区</option>-->
            <!--<option value="拱墅区">临安市</option>-->
        <!--</select>-->
    <!--</div>-->
</div><?php }
}
